package net.vinote.smartweb.client.impl;

import net.vinote.smartweb.client.UserServiceClient;
import net.vinote.smartweb.service.facade.UserInfoService;
import net.vinote.smartweb.service.facade.vo.UserInfoVO;
import net.vinote.smartweb.service.result.SmartResult;

public class UserServiceClientImpl implements UserServiceClient {
	private UserInfoService userService;

	public SmartResult<Integer> queryCount(int id, String pwd) {
		return userService.queryCount(1, "asfd");
	}

	/**
	 * Setter method for property <tt>userService</tt>.
	 *
	 * @param userService
	 *            value to be assigned to property userService
	 */
	public final void setUserService(UserInfoService userService) {
		this.userService = userService;
	}

	public SmartResult<UserInfoVO> query(int id) {
		// TODO Auto-generated method stub
		return userService.query(id);
	}

}
